package com.anyou.mall.partner.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.anyou.common.core.domain.BaseEntity;

/**
 * 合伙人等级对象 sho_partner_lavel
 *
 * @author ruoyi
 * @date 2023-10-10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "合伙人等级")
@TableName(value = "sho_partner_lavel")
public class PartnerLavel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 合伙人等级id */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("合伙人等级id")
    private Long lavelId;

    /** 可用商品分类id */
    @ApiModelProperty("可用商品分类id")
    @Excel(name = "可用商品分类id")
    private Long goodsTypeId;

    /** 等级名称 */
    @ApiModelProperty("等级名称")
    @Excel(name = "等级名称")
    private String lavelName;

    /** 拥金比例（%） */
    @ApiModelProperty("拥金比例（%）")
    @Excel(name = "拥金比例", readConverterExp = "%=")
    private Integer premium;

    /** 删除标志：0未删除，2已删除 */
    @ApiModelProperty("删除标志：0未删除，2已删除")
    private Long delFlag;



}
